package com.kongge.formlike;

import com.kongge.formlike.service.check.ICheckItem;
import com.kongge.formlike.service.rule.IRule;

import java.util.Map;

/**
 * author:kongge
 * date:2018/7/21
 * layout:
 * description:
 */

public interface OnFormCommitListener {

    void onFormCommitChecked(Form form, Map<String, Object> configMap, Map<String, String> paramMap);

    void onFormCommitError(Form form, ICheckItem checkItem, IRule errorRule);

}
